home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / MPW_TOOL / TOOLS / TOOLS_WI / ICON_8 / ICONT_FO / ICONT.R < prev    next >
Text File  |  1989-03-05  |  6KB  |  297 lines

  1. /*
  2.     Commando dialog definition for the Icon Programming Language
  3.     translator and linker (icont).
  4. */
  5.  
  6. #include "Cmdo.r"
  7. #include "Types.r"
  8.  
  9. resource 'cmdo' (128) {
  10.     {    /* array dialogs: 2 elements */
  11.         /* [1] */
  12.         295,
  13.         "Icont ╤ Icon Programming Language Translator & Linker.  "
  14.         "Clicking on any control will display a help message in this box.",
  15.         {    /* array itemArray */
  16.             /* [1] */
  17.             NotDependent {},
  18.             MultiFiles {
  19.                 "Input File(s)╔",
  20.                 "Choose the source (.icn) & icode (.u1) files you "
  21.                 "wish to include.",
  22.                 /*{30, 24, 54, 132},*/
  23.                 {30, 76, 54, 184},
  24.                 "Source & Ucode Files:",
  25.                 "",
  26.                 MultiInputFiles {
  27.                     {    /* array MultiTypesArray: 1 elements */
  28.                         /* [1] */
  29.                         /*text*/  /* .u? files are not TEXT */
  30.                     },
  31.                     ".icn",
  32.                     "Files ending in .icn",
  33.                     /*"All text files"*/
  34.                     "All files"
  35.                 }
  36.             },
  37.             /* [2] */
  38.             Or {
  39.                 {1}
  40.             },
  41.             Files {
  42.                 InputOrOutputFile,
  43.                 OptionalFile {
  44.                     {117, 261, 133, 429},
  45.                     {133, 261, 152, 429},
  46.                     "Icode File Name",
  47.                     "Root name of 1st file",
  48.                     "-o",
  49.                     " (root name)",
  50.                     "This is the name to give to the executable "
  51.                     "program (icode file).  The default is the root "
  52.                     "portion of the first source or ucode file specified.",
  53.                     dim,
  54.                     "Default icode file",
  55.                     "Select existing icode file╔",
  56.                     "Create new icode file╔"
  57.                 },
  58.                 Additional {
  59.                     "-o",
  60.                     "",
  61.                     "",
  62.                     "",
  63.                     {    /* array TypesArray */
  64.                         text
  65.                     }
  66.                 }
  67.             },
  68.             /* [3] */
  69.             NotDependent {
  70.  
  71.             },
  72.             NestedDialog {
  73.                 2,
  74.                 {166, 150, 182, 300},
  75.                 "Table Size Options╔",
  76.                 "Translator and linker table sizes may b"
  77.                 "e specified with this button."
  78.             },
  79.             /* [4] */
  80.             NotDependent {},
  81.             Redirection {
  82.                 StandardInput,
  83.                 {30, 210}
  84.             },
  85.             /* [5] */
  86.             NotDependent {},
  87.             Redirection {
  88.                 StandardOutput,
  89.                 {30, 338}
  90.             },
  91.             /* [6] */
  92.             NotDependent {},
  93.             Redirection {
  94.                 DiagnosticOutput,
  95.                 {68, 274}
  96.             },
  97.             /* [7] */
  98.             NotDependent {},
  99.             TextBox {
  100.                 gray,
  101.                 {20, 200, 112, 460},
  102.                 "Input and Output Redirection"
  103.             },
  104.             /* [8] */
  105.             NotDependent {},
  106.             CheckOption {
  107.                 NotSet,
  108.                 {68, 24, 84, 190},
  109.                 "Translate only",
  110.                 "-c",
  111.                 "Translate source files to create ucode files only "
  112.                 "╤ do not link."
  113.             },
  114.             /* [9] */
  115.             NotDependent {},
  116.             CheckOption {
  117.                 NotSet,
  118.                 {92, 24, 108, 190},
  119.                 "Suppress messages",
  120.                 "-s",
  121.                 "Suppress output of non-error, informative messages."
  122.             },
  123.             /* [10] */
  124.             NotDependent {},
  125.             CheckOption {
  126.                 NotSet,
  127.                 {116, 24, 132, 190},
  128.                 "Trace",
  129.                 "-t",
  130.                 "Give keyword &trace an initial value of -1 when "
  131.                 "program is executed."
  132.             },
  133.             /* [11] */
  134.             NotDependent {},
  135.             CheckOption {
  136.                 NotSet,
  137.                 {140, 24, 156, 240},
  138.                 "Warn undeclared identifiers",
  139.                 "-u",
  140.                 "Issue warning messages for undeclared identifiers."
  141.             },
  142.             NotDependent {},
  143.             PictOrIcon {
  144.                 Icon, 128, {24, 24, 56, 56},
  145.             },
  146.             NotDependent {},
  147.             Box {
  148.                 gray,
  149.                 {18, 18, 62, 62}
  150.             }
  151.         },
  152.         /* [2] */
  153.         280,
  154.         "Use this dialog to alter translator "
  155.         "and linker table sizes.",
  156.         {
  157.             NotDependent {},
  158.             RegularEntry {
  159.               "Constant table",
  160.               {24, 112, 40, 248},
  161.               {24, 24, 40, 102},
  162.               "100",
  163.               true,
  164.               "-Sc",
  165.               "Size of constant table."
  166.             },
  167.             NotDependent {},
  168.             RegularEntry {
  169.               "Field table",
  170.               {48, 112, 64, 248},
  171.               {48, 24, 64, 102},
  172.               "100",
  173.               true,
  174.               "-Sf",
  175.               "Size of field table."
  176.             },
  177.             NotDependent {},
  178.             RegularEntry {
  179.               "Global symbol table",
  180.               {72, 112, 88, 248},
  181.               {72, 24, 88, 102},
  182.               "200",
  183.               true,
  184.               "-Sg",
  185.               "Size of global symbol table."
  186.             },
  187.             NotDependent {},
  188.             RegularEntry {
  189.               "Identifier table",
  190.               {96, 112, 112, 248},
  191.               {96, 24, 112, 102},
  192.               "500",
  193.               true,
  194.               "-Si",
  195.               "Size of identifier table."
  196.             },
  197.             NotDependent {},
  198.             RegularEntry {
  199.               "Local symbol table",
  200.               {120, 112, 136, 248},
  201.               {120, 24, 136, 102},
  202.               "100",
  203.               true,
  204.               "-Sl",
  205.               "Size of local symbol table."
  206.             },
  207.             NotDependent {},
  208.             RegularEntry {
  209.               "Line number table",
  210.               {144, 112, 160, 248},
  211.               {144, 24, 160, 102},
  212.               "1000",
  213.               true,
  214.               "-Sn",
  215.               "Size of line number table."
  216.             },
  217.             NotDependent {},
  218.             RegularEntry {
  219.               "Record table",
  220.               {24, 358, 40, 478},
  221.               {24, 270, 40, 348},
  222.               "100",
  223.               true,
  224.               "-Sr",
  225.               "Size of record table."
  226.             },
  227.             NotDependent {},
  228.             RegularEntry {
  229.               "String space",
  230.               {48, 358, 64, 478},
  231.               {48, 270, 64, 348},
  232.               "20000",
  233.               true,
  234.               "-Ss",
  235.               "Size of string space."
  236.             },
  237.             NotDependent {},
  238.             RegularEntry {
  239.               "Tree space",
  240.               {72, 358, 88, 478},
  241.               {72, 270, 88, 348},
  242.               "15000",
  243.               true,
  244.               "-St",
  245.               "Size of tree space."
  246.             },
  247.             NotDependent {},
  248.             RegularEntry {
  249.               "Code buffer",
  250.               {96, 358, 112, 478},
  251.               {96, 270, 112, 348},
  252.               "15000",
  253.               true,
  254.               "-SC",
  255.               "Size of code buffer."
  256.             },
  257.             NotDependent {},
  258.             RegularEntry {
  259.               "File names",
  260.               {120, 358, 136, 478},
  261.               {120, 270, 136, 348},
  262.               "10",
  263.               true,
  264.               "-SF",
  265.               "Size of file name table."
  266.             },
  267.             NotDependent {},
  268.             RegularEntry {
  269.               "Labels",
  270.               {144, 358, 160, 478},
  271.               {144, 270, 160, 348},
  272.               "500",
  273.               true,
  274.               "-SL",
  275.               "Size of label table."
  276.             }
  277.         }
  278.     }
  279. };
  280.  
  281.  
  282. /*
  283.    This is the ICON resource that creates the icon for the icon logo
  284.    for the Icon Programming Language.
  285. */
  286.  
  287. resource 'ICON' (128) {
  288.     $"0003 0000 000C 0000 001C 0000 0038 0000"
  289.     $"0033 8000 0006 C000 000C 6000 0006 0000"
  290.     $"0033 1800 0079 3C00 00CC 6630 00CC 6638"
  291.     $"0278 3C9C 0630 19CC 0C00 0362 88C0 0622"
  292.     $"8D80 0060 6730 18C0 7278 3C80 38CC 6600"
  293.     $"18CC 6600 0079 3C00 0031 9800 0000 C000"
  294.     $"000C 6000 0006 C000 0003 9800 0000 3800"
  295.     $"0000 7000 0000 6000 0001 80"
  296. };
  297.